package org.larkdoc.model.entity;

import java.io.Serializable;
/**
 * 项目与组关系实体(对应数据库表)
 * 
 * @author  zhangpeijun[zhangpeijun1024@qq.com]
 * @version  [v1.0.1, 2017年10月17日]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class ProjectRelGroup implements Serializable {
    /**
     * id
     * Column : project_rel_group.id
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 项目ID
     * Column : project_rel_group.project_id
     *
     * @mbggenerated
     */
    private Integer projectId;

    /**
     * 群组id
     * Column : project_rel_group.group_id
     *
     * @mbggenerated
     */
    private Integer groupId;

    /**
     * 关联类型：
     * Column : project_rel_group.rel_type
     *
     * @mbggenerated
     */
    private Integer relType;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table project_rel_group
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * Returns : id
     *
     * @return the value of project_rel_group.id
     *
     * @mbggenerated
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets : id
     *
     * @param id the value for project_rel_group.id
     *
     * @mbggenerated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * Returns : 项目ID
     *
     * @return the value of project_rel_group.project_id
     *
     * @mbggenerated
     */
    public Integer getProjectId() {
        return projectId;
    }

    /**
     * This method sets : 项目ID
     *
     * @param projectId the value for project_rel_group.project_id
     *
     * @mbggenerated
     */
    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    /**
     * Returns : 群组id
     *
     * @return the value of project_rel_group.group_id
     *
     * @mbggenerated
     */
    public Integer getGroupId() {
        return groupId;
    }

    /**
     * This method sets : 群组id
     *
     * @param groupId the value for project_rel_group.group_id
     *
     * @mbggenerated
     */
    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    /**
     * Returns : 关联类型：
     *
     * @return the value of project_rel_group.rel_type
     *
     * @mbggenerated
     */
    public Integer getRelType() {
        return relType;
    }

    /**
     * This method sets : 关联类型：
     *
     * @param relType the value for project_rel_group.rel_type
     *
     * @mbggenerated
     */
    public void setRelType(Integer relType) {
        this.relType = relType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table project_rel_group
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", projectId=").append(projectId);
        sb.append(", groupId=").append(groupId);
        sb.append(", relType=").append(relType);
        sb.append("]");
        return sb.toString();
    }
}